package application;

import domain.DomainException;
import domain.gbshaasrode.spreadsheet.GBSHaasrodeSpreadSheetService;
import domain.gbshaasrode.spreadsheet.GBSOpvangSpreadSheet;
import domain.gbshaasrode.spreadsheet.GBSOpvangWorkSheetOpvang;

public class LauncherAddInformation {

	public static void main(String[] args){
			
		GBSHaasrodeSpreadSheetService service;
		try {
			service = new GBSHaasrodeSpreadSheetService();
			GBSOpvangSpreadSheet ss = new GBSOpvangSpreadSheet(service);
			System.out.println(ss.toString());
			GBSOpvangWorkSheetOpvang opvang = new GBSOpvangWorkSheetOpvang(service, ss);
			System.out.println(opvang.toString(2,11,2013));
			opvang.addRow("2", "uit", "maandag", "4", "11", "2013", "17", "03");
			//System.out.println(opvang.toString());
			
		} catch (DomainException e) {
			System.out.println(e);
		}
	}
}
